package top.infopub.mgr.cap.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import top.infopub.generic.GenericDao;
import top.infopub.generic.GenericServiceImpl;
import top.infopub.mgr.cap.dao.RpiApplyDetailDao;
import top.infopub.mgr.cap.domain.RpiApplyDomain;
import top.infopub.model.cap.RpiApplyDetail;
import top.infopub.mgr.cap.service.RpiApplyDetailService;

@Service
public class RpiApplyDetailServiceImpl extends GenericServiceImpl<RpiApplyDetail, String> implements
		RpiApplyDetailService {

	@Autowired
	private RpiApplyDetailDao rpiApplyDetailDao;
	
	@Override
	public GenericDao<RpiApplyDetail, String> getDao() {
		return rpiApplyDetailDao;
	}

    @Override
    public RpiApplyDomain selectByApplyId1(String applyId) {
        return rpiApplyDetailDao.selectByApplyId1(applyId);
    }

    @Override
    public RpiApplyDomain selectByApplyId2(String applyId) {
        return rpiApplyDetailDao.selectByApplyId2(applyId);
    }

}